#include "selectbasedlg.h"
#include "querywidget.h"

SelectBaseDlg::SelectBaseDlg()
{
	setupUi(this);
	QueryWidget::loadComboBoxValues(cboxDBName);
}

void SelectBaseDlg::accept()
{
	QueryWidget::saveComboBoxValues(cboxDBName);
	QDialog::accept();
}

QString SelectBaseDlg::databaseName()
{
	return cboxDBName->currentText();
}
